Skip to content

feat: wasm changes for Itaubank payout connector#4697

Merged
prajwalnl merged 2 commits intomainfrom
feat/itaubank-payout-connector-wasm
Apr 14, 2026
Merged

feat: wasm changes for Itaubank payout connector#4697
prajwalnl merged 2 commits intomainfrom
feat/itaubank-payout-connector-wasm

Conversation

@susrithasabbini
Copy link
Copy Markdown
Contributor

@susrithasabbini susrithasabbini commented Apr 13, 2026

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Motivation and Context

How did you test it?

Where to test it?

  • INTEG
  • SANDBOX
  • PROD

Checklist

  • I ran npm run re:build
  • I reviewed submitted code
  • I added unit tests for my changes where possible

Summary by CodeRabbit

  • New Features
    • Expanded payment configuration APIs with support for additional connectors, card types, webhook statuses, and payout options.
    • Added new functions to retrieve configuration details for various payment processors, authentication methods, billing systems, and tax processors.

@susrithasabbini susrithasabbini self-assigned this Apr 13, 2026
@susrithasabbini susrithasabbini requested a review from a team as a code owner April 13, 2026 07:33
@semanticdiff-com
Copy link
Copy Markdown

semanticdiff-com bot commented Apr 13, 2026

Review changes with  SemanticDiff

Changed Files
File Status
  public/hyperswitch/wasm/euclid.js  17% smaller
  public/hyperswitch/wasm/euclid.d.ts  13% smaller
  public/hyperswitch/wasm/euclid_bg.wasm.d.ts  3% smaller
  public/hyperswitch/wasm/euclid_bg.wasm Unsupported file format

@susrithasabbini susrithasabbini linked an issue Apr 13, 2026 that may be closed by this pull request
2 tasks
@susrithasabbini susrithasabbini added S-waiting-on-review Status: This PR has been implemented and needs to be reviewed C-feature Category: Feature request or enhancement labels Apr 13, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 13, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: dd9681c6-90d4-43ce-af9d-2a14574d4ad1

📥 Commits

Reviewing files that changed from the base of the PR and between a1b7282 and 6726f17.

⛔ Files ignored due to path filters (1)
  • public/hyperswitch/wasm/euclid_bg.wasm is excluded by !**/*.wasm
📒 Files selected for processing (3)
  • public/hyperswitch/wasm/euclid.d.ts
  • public/hyperswitch/wasm/euclid.js
  • public/hyperswitch/wasm/euclid_bg.wasm.d.ts

Walkthrough

The Hyperswitch WASM API surface was expanded and reorganized across TypeScript declarations and JavaScript wrappers. New exported functions for connector configuration, payment processing, and validation APIs were added, while existing functions were reordered and some were renamed or repurposed with different underlying WASM bindings and FFI interop methods.

Changes

Cohort / File(s) Summary
WASM Type Declarations
public/hyperswitch/wasm/euclid.d.ts, public/hyperswitch/wasm/euclid_bg.wasm.d.ts
Added 20+ new exported function declarations (e.g., getPayoutVariantValues, getValidConnectorsForRule, getTaxProcessorConfig, getCardTypeValues, getCardSubtypeValues) and expanded InitOutput interface with additional method signatures, FFI bindings (ffi_superposition_types_*), and Rust future/buffer helpers. Functions were reordered and several reintroduced with updated positions.
WASM JavaScript Wrapper
public/hyperswitch/wasm/euclid.js
Added new wrapper function getPayoutVariantValues(key) and reorganized ~20 existing wrapper functions by remapping them to different underlying WASM exports and parameter signatures. Functions like getTwoLetterCountryCode, seedKnowledgeGraph, and analyzeProgram were shifted or renamed to expose new configuration and validation APIs (e.g., getValidConnectorsForRule, getTaxProcessorConfig, getAuthenticationConnectorConfig).

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~50 minutes

Poem

🐰 Whisker-twitching at these WASM ways,
New config getters light the days,
Connectors validated, taxes taxed,
FFI bindings smoothly stacked—
Three files danced, reorganized with grace,
Superposition blooms in cyberspace!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat: wasm changes for Itaubank payout connector' directly corresponds to the PR's intent of adding WASM changes for the Itaubank payout connector and is the primary focus of all three modified files.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/itaubank-payout-connector-wasm

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@prajwalnl prajwalnl added this pull request to the merge queue Apr 14, 2026
Merged via the queue into main with commit 93a5615 Apr 14, 2026
13 checks passed
@prajwalnl prajwalnl deleted the feat/itaubank-payout-connector-wasm branch April 14, 2026 10:06
@github-actions github-actions bot added Closed Applied to issues or pull requests that have been successfully resolved or completed and removed S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-feature Category: Feature request or enhancement Closed Applied to issues or pull requests that have been successfully resolved or completed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Integrate new payout connector - Itaubank

4 participants